package a.j;

import a.c.ab;
import a.c.bb;
import a.c.cb;
import a.c.m;
import a.c.q;
import a.c.w;
import a.c.y;
import a.c.z;
import a.f.o;
import a.f.wb;
import a.f.xc;
import a.f.zb;
import a.f.zc;
import a.j.a.j;

import java.awt.*;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;

public class g
  extends o
{
  private ld fg;
  private tb gg;
  private z hg;
  private z ig;
  private ze jg;
  private URL kg;
  private j lg;
  private a_ mg;
  private ArrayList ng;
  private ArrayList og;
  public static boolean pg;
  
  protected x.a_ f()
  {
    return new dc.b_();
  }
  
  public g()
  {
    a(new od(), new xb());
  }
  
  public g(g paramg)
  {
    this(paramg, paramg.v());
  }
  
  public g(g paramg, y paramy)
  {
    super(paramg, paramy);
    a(paramg.fg.m(), paramg.gg.e());
  }
  
  private void a(ld paramld, tb paramtb)
  {
    this.fg = paramld;
    this.gg = paramtb;
    this.hg = new z();
    this.ig = new z();
    this.ng = new ArrayList();
    this.og = new ArrayList();
  }
  
  public q h()
  {
    return new g(this);
  }
  
  public q x()
  {
    return new g();
  }
  
  public void a(a.c.d paramd1, a.c.e parame1, a.c.d paramd2, int paramInt1, a.c.e parame2, a.c.d paramd3, int paramInt2)
  {
    super.a(paramd1, parame1, paramd2, paramInt1, parame2, paramd3, paramInt2);
    tb localtb = t(paramd1);
    if ((ld.E) || (localtb != null)) {
      localtb.Q();
    }
  }
  
  public void a(a.c.d paramd, a.c.e parame1, a.c.e parame2)
  {
    super.a(paramd, parame1, parame2);
    tb localtb = t(paramd);
    if ((ld.E) || (localtb != null)) {
      localtb.Q();
    }
  }
  
  public void a(j paramj)
  {
    this.lg = paramj;
  }
  
  public j K()
  {
    return this.lg;
  }
  
  public a.c.d a(a.c.e parame1, a.c.e parame2)
  {
    return a(parame1, parame2, this.gg.e());
  }
  
  public a.c.d a(a.c.e parame1, a.c.e parame2, tb paramtb)
  {
    return a(parame1, null, parame2, null, 0, 0, paramtb);
  }
  
  public a.c.d a(a.c.e parame1, a.c.d paramd1, a.c.e parame2, a.c.d paramd2, int paramInt1, int paramInt2)
  {
    return a(parame1, paramd1, parame2, paramd2, paramInt1, paramInt2, this.gg.e());
  }
  
  public a.c.d a(a.c.e parame1, a.c.d paramd1, a.c.e parame2, a.c.d paramd2, int paramInt1, int paramInt2, tb paramtb)
  {
    e locale = new e(this, parame1, paramd1, parame2, paramd2, paramInt1, paramInt2, paramtb);
    if ((ld.E) || (g())) {
      a(new cb(this, (byte)1, locale));
    }
    return locale;
  }
  
  public a.c.e i()
  {
    return a(this.fg.m());
  }
  
  public a.c.e a(double paramDouble1, double paramDouble2)
  {
    ld localld = this.fg.m();
    localld.c(paramDouble1, paramDouble2);
    return a(localld);
  }
  
  public a.c.e a(double paramDouble1, double paramDouble2, String paramString)
  {
    ld localld = this.fg.m();
    localld.c(paramDouble1, paramDouble2);
    localld.b(paramString);
    return a(localld);
  }
  
  public a.c.e a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, String paramString)
  {
    ld localld = this.fg.m();
    localld.b(paramDouble3, paramDouble4);
    localld.c(paramDouble1, paramDouble2);
    localld.b(paramString);
    return a(localld);
  }
  
  public a.c.e a(ld paramld)
  {
    f localf = new f(this, paramld);
    if ((ld.E) || (g())) {
      a(new cb(this, (byte)0, localf));
    }
    return localf;
  }
  
  public Rectangle d()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Rectangle localRectangle = new Rectangle(0, 0, -1, -1);
    Object localObject;
    do
    {
      localObject = v();
      while (!bool1)
      {
        if (!((w)localObject).e()) {
          break;
        }
        if (bool1) {
          break label69;
        }
        w(((w)localObject).d()).b(localRectangle);
        ((w)localObject).f();
      }
    } while (bool2);
    label69:
    do
    {
      localObject = w();
      while (!bool1)
      {
        if (!((m)localObject).e()) {
          break;
        }
        t(((m)localObject).a()).a(localRectangle);
        ((m)localObject).f();
      }
    } while (bool2);
    return localRectangle;
  }
  
  public Rectangle a(byte paramByte)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Rectangle localRectangle = new Rectangle(0, 0, -1, -1);
    do
    {
      localObject = v();
      while (!bool1)
      {
        if (!((w)localObject).e()) {
          break;
        }
        if (bool1) {
          break label73;
        }
        w(((w)localObject).d()).a(localRectangle, paramByte);
        ((w)localObject).f();
      }
    } while (bool2);
    label73:
    Object localObject = w();
    do
    {
      if (!((m)localObject).e()) {
        break;
      }
      tb localtb = t(((m)localObject).a());
      if (!bool2)
      {
        if (localtb.J() == paramByte) {
          localtb.a(localRectangle);
        }
        ((m)localObject).f();
      }
    } while (!bool1);
    return localRectangle;
  }
  
  public void b(byte paramByte)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Object localObject;
    do
    {
      localObject = v();
      while (!bool1)
      {
        if (!((w)localObject).e()) {
          break;
        }
        if (bool1) {
          break label57;
        }
        w(((w)localObject).d()).a(paramByte);
        ((w)localObject).f();
      }
    } while (bool2);
    label57:
    do
    {
      localObject = w();
      while (!bool1)
      {
        if (!((m)localObject).e()) {
          break;
        }
        t(((m)localObject).a()).a(paramByte);
        ((m)localObject).f();
      }
    } while (bool2);
  }
  
  public Rectangle b(double paramDouble1, double paramDouble2)
  {
    Rectangle localRectangle = d();
    double d1 = paramDouble1 - localRectangle.getX();
    double d2 = paramDouble2 - localRectangle.getY();
    a(v(), d1, d2);
    a(L(), d1, d2);
    localRectangle.setLocation((int)paramDouble1, (int)paramDouble2);
    return localRectangle;
  }
  
  public fb L()
  {
    return new fe(this);
  }
  
  public void b(ld paramld)
  {
    this.fg = paramld;
  }
  
  public void a(tb paramtb)
  {
    this.gg = paramtb;
  }
  
  public ld M()
  {
    return this.fg;
  }
  
  public tb O()
  {
    return this.gg;
  }
  
  public ld w(a.c.e parame)
  {
    return ((f)parame).m;
  }
  
  public tb t(a.c.d paramd)
  {
    return ((e)paramd).n;
  }
  
  public void a(a.c.e parame, ld paramld)
  {
    ld localld = ((f)parame).m;
    paramld.a(parame);
    ((f)parame).m = paramld;
    a(parame, "realizer", localld, paramld);
  }
  
  public void a(a.c.d paramd, tb paramtb)
  {
    tb localtb = ((e)paramd).n;
    paramtb.a(paramd);
    ((e)paramd).n = paramtb;
    a(paramd, "realizer", localtb, paramtb);
  }
  
  public zc k(a.c.e parame)
  {
    return w(parame);
  }
  
  public zb b(a.c.d paramd)
  {
    return t(paramd);
  }
  
  public xc[] l(a.c.e parame)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    ld localld = w(parame);
    xc[] arrayOfxc = new xc[localld.x()];
    int i = 0;
    do
    {
      while (!bool1)
      {
        if (i >= arrayOfxc.length) {
          break;
        }
        if ((!bool2) && (bool1)) {
          break label68;
        }
        arrayOfxc[i] = localld.b(i);
        i++;
      }
    } while (bool2);
    label68:
    return arrayOfxc;
  }
  
  public wb[] k(a.c.d paramd)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    tb localtb = t(paramd);
    wb[] arrayOfwb = new wb[localtb.V()];
    int i = 0;
    do
    {
      while (!bool1)
      {
        if (i >= arrayOfwb.length) {
          break;
        }
        if ((!bool2) && (bool1)) {
          break label68;
        }
        arrayOfwb[i] = localtb.d(i);
        i++;
      }
    } while (bool2);
    label68:
    return arrayOfwb;
  }
  
  public a.c.e a(xc paramxc)
  {
    jg localjg = (jg)paramxc;
    return localjg.gb();
  }
  
  public a.c.d a(wb paramwb)
  {
    ig localig = (ig)paramwb;
    return localig.lb();
  }
  
  public boolean P()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Object localObject1 = v();
    Object localObject2;
    Object localObject3;
    Object localObject5;
    label122:
    Object localObject4;
    label178:
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break label181;
        }
        localObject2 = ((w)localObject1).d();
        if (bool1) {
          break label182;
        }
        if (!bool2) {
          if (y((a.c.e)localObject2)) {
            return false;
          }
        }
        localObject3 = w((a.c.e)localObject2);
        do
        {
          if (bool2) {
            break;
          }
          if (((ld)localObject3).x() > 0)
          {
            int i = 0;
            do
            {
              if (i >= ((ld)localObject3).x()) {
                break;
              }
              localObject5 = ((ld)localObject3).b(i);
              if (bool1) {
                break label122;
              }
              if (a((hg)localObject5)) {
                return false;
              }
              i++;
            } while (!bool1);
          }
        } while (bool2);
        if (((ld)localObject3).y() <= 0) {
          break;
        }
        localObject4 = ((ld)localObject3).z();
        do
        {
          if (!((Iterator)localObject4).hasNext()) {
            break;
          }
        } while (!a((jd)((Iterator)localObject4).next()));
        if (bool2) {
          break label178;
        }
      } while (bool1);
      return false;
      ((w)localObject1).f();
    } while (!bool1);
    label181:
    label182:
    localObject1 = w();
    label293:
    label340:
    do
    {
      do
      {
        if (!((m)localObject1).e()) {
          break;
        }
        localObject2 = ((m)localObject1).a();
        if (bool1) {
          break label357;
        }
        if (v((a.c.d)localObject2)) {
          return false;
        }
        localObject3 = t((a.c.d)localObject2);
        do
        {
          if (bool2) {
            break;
          }
          if (((tb)localObject3).n() > 0)
          {
            localObject4 = ((tb)localObject3).o();
            do
            {
              if (!((fb)localObject4).e()) {
                break;
              }
              if (bool1) {
                break label293;
              }
              if (a(((fb)localObject4).a())) {
                return false;
              }
              ((fb)localObject4).f();
            } while (!bool1);
          }
        } while (bool2);
        if (((tb)localObject3).V() > 0)
        {
          int j = 0;
          do
          {
            if (j >= ((tb)localObject3).V()) {
              break label340;
            }
            localObject5 = ((tb)localObject3).d(j);
            if (bool1) {
              break;
            }
            if (a((hg)localObject5)) {
              return false;
            }
            j++;
          } while (!bool1);
        }
        ((m)localObject1).f();
      } while (bool2);
    } while (!bool1);
    label357:
    return true;
  }
  
  public boolean Q()
  {
    if (!ld.E) {}
    return R().k() + U().k() == 1;
  }
  
  public w R()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    bb localbb = new bb();
    w localw = v();
    do
    {
      if (!localw.e()) {
        break;
      }
      if (bool1) {
        break label78;
      }
      a.c.e locale = localw.d();
      if (!bool2)
      {
        if (y(locale)) {
          localbb.b(locale);
        }
        localw.f();
      }
    } while (!bool1);
    label78:
    return localbb.l();
  }
  
  public m S()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    ab localab = new ab();
    m localm = w();
    do
    {
      if (!localm.e()) {
        break;
      }
      if (bool1) {
        break label78;
      }
      a.c.d locald = localm.a();
      if (!bool2)
      {
        if (v(locald)) {
          localab.b(locald);
        }
        localm.f();
      }
    } while (!bool1);
    label78:
    return localab.l();
  }
  
  public y T()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z localz = new z();
    Object localObject1 = w();
    Object localObject2;
    int i;
    Object localObject3;
    label109:
    do
    {
      do
      {
        if (!((m)localObject1).e()) {
          break label125;
        }
        if (bool1) {
          break label126;
        }
        localObject2 = t(((m)localObject1).a());
        if (bool2) {
          break;
        }
        if (((tb)localObject2).V() > 0)
        {
          i = 0;
          do
          {
            if (i >= ((tb)localObject2).V()) {
              break label109;
            }
            localObject3 = ((tb)localObject2).d(i);
            if (bool1) {
              break;
            }
            if (a((hg)localObject3)) {
              localz.add(localObject3);
            }
            i++;
          } while (!bool1);
        }
        ((m)localObject1).f();
      } while (bool2);
    } while (!bool1);
    label125:
    label126:
    localObject1 = v();
    label211:
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break label227;
        }
        localObject2 = w(((w)localObject1).d());
        if (bool2) {
          break;
        }
        if (((ld)localObject2).x() > 0)
        {
          i = 0;
          do
          {
            if (i >= ((ld)localObject2).x()) {
              break label211;
            }
            localObject3 = ((ld)localObject2).b(i);
            if (bool1) {
              break;
            }
            if (a((hg)localObject3)) {
              localz.add(localObject3);
            }
            i++;
          } while (!bool1);
        }
        ((w)localObject1).f();
      } while (bool2);
    } while (!bool1);
    label227:
    return localz.h();
  }
  
  public fb U()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    h localh = new h();
    fb localfb = L();
    do
    {
      if (!localfb.e()) {
        break;
      }
      if (bool1) {
        break label78;
      }
      eb localeb = localfb.a();
      if (!bool2)
      {
        if (a(localeb)) {
          localh.b(localeb);
        }
        localfb.f();
      }
    } while (!bool1);
    label78:
    return localh.m();
  }
  
  public void V()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    Object localObject1 = v();
    Object localObject2;
    Object localObject3;
    label184:
    label186:
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break label189;
        }
        localObject2 = ((w)localObject1).d();
        if (!bool2)
        {
          a((a.c.e)localObject2, false);
          if (bool1) {
            break label190;
          }
        }
        localObject3 = w((a.c.e)localObject2);
        if (!bool2)
        {
          if (((ld)localObject3).x() > 0)
          {
            int i = 0;
            do
            {
              if (i >= ((ld)localObject3).x()) {
                break;
              }
              a(((ld)localObject3).b(i), false);
              i++;
              if (bool2) {
                break label186;
              }
              if (bool1) {
                break label184;
              }
            } while (!bool1);
          }
          if (!bool2) {
            if (bool2) {
              break label186;
            }
          }
        }
        else
        {
          if (((ld)localObject3).y() <= 0) {
            continue;
          }
        }
        Iterator localIterator = ((ld)localObject3).z();
        do
        {
          if (!localIterator.hasNext()) {
            break;
          }
          a((jd)localIterator.next(), false);
          if (bool2) {
            break label186;
          }
          if (bool1) {
            break label184;
          }
        } while (!bool1);
      } while (bool2);
      ((w)localObject1).f();
    } while (!bool1);
    label189:
    label190:
    localObject1 = w();
    label285:
    label291:
    label351:
    label353:
    do
    {
      do
      {
        if (!((m)localObject1).e()) {
          break label356;
        }
        localObject2 = ((m)localObject1).a();
        a((a.c.d)localObject2, false);
        do
        {
          localObject3 = t((a.c.d)localObject2);
          if (!bool2)
          {
            if (bool1) {
              return;
            }
            if (bool2) {
              break label291;
            }
          }
          if (((tb)localObject3).V() > 0)
          {
            int j = 0;
            do
            {
              if (j >= ((tb)localObject3).V()) {
                break label285;
              }
              a(((tb)localObject3).d(j), false);
              j++;
              if ((!bool2) && (bool1)) {
                break;
              }
            } while (!bool1);
          }
        } while (bool2);
        fb localfb = ((tb)localObject3).o();
        do
        {
          if (!localfb.e()) {
            break;
          }
          a(localfb.a(), false);
          localfb.f();
          if (bool2) {
            break label353;
          }
          if (bool1) {
            break label351;
          }
        } while (!bool1);
      } while (bool2);
      ((m)localObject1).f();
    } while (!bool1);
    label356:
    if (!bool2) {
      A();
    }
  }
  
  public void W()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    w localw = v();
    if (localw.e()) {}
    while (bool2)
    {
      a(localw.d(), false);
      localw.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void X()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    m localm = w();
    if (localm.e()) {}
    while (bool2)
    {
      a(localm.a(), false);
      localm.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void Y()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    fb localfb = L();
    if (localfb.e()) {}
    while (bool2)
    {
      a(localfb.a(), false);
      localfb.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void Z()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    Object localObject1 = v();
    Object localObject2;
    int i;
    label105:
    label107:
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break label110;
        }
        if (bool1) {
          break label111;
        }
        localObject2 = w(((w)localObject1).d());
        if ((bool2) || (((ld)localObject2).x() > 0))
        {
          i = 0;
          do
          {
            if (i >= ((ld)localObject2).x()) {
              break;
            }
            a(((ld)localObject2).b(i), false);
            i++;
            if (bool2) {
              break label107;
            }
            if (bool1) {
              break label105;
            }
          } while (!bool1);
        }
      } while (bool2);
      ((w)localObject1).f();
    } while (!bool1);
    label110:
    label111:
    localObject1 = w();
    label116:
    if (((m)localObject1).e()) {}
    label206:
    label208:
    while (bool2)
    {
      localObject2 = t(((m)localObject1).a());
      if ((!bool2) && (bool1)) {
        return;
      }
      if ((bool2) || (((tb)localObject2).V() > 0))
      {
        i = 0;
        do
        {
          if (i >= ((tb)localObject2).V()) {
            break;
          }
          a(((tb)localObject2).d(i), false);
          i++;
          if (bool2) {
            break label208;
          }
          if (bool1) {
            break label206;
          }
        } while (!bool1);
      }
      if (bool2) {
        break label116;
      }
      ((m)localObject1).f();
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void ab()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    z();
    w localw = v();
    label20:
    if (localw.e()) {}
    label115:
    label117:
    while (bool2)
    {
      ld localld = w(localw.d());
      if ((!bool2) && (bool1)) {
        return;
      }
      if ((bool2) || (localld.y() > 0))
      {
        Iterator localIterator = localld.z();
        do
        {
          if (!localIterator.hasNext()) {
            break;
          }
          a((jd)localIterator.next(), false);
          if (bool2) {
            break label117;
          }
          if (bool1) {
            break label115;
          }
        } while (!bool1);
      }
      if (bool2) {
        break label20;
      }
      localw.f();
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void a(w paramw, double paramDouble1, double paramDouble2)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    paramw.h();
    do
    {
      while (!bool1)
      {
        if (!paramw.e()) {
          break;
        }
        w(paramw.d()).d(paramDouble1, paramDouble2);
        paramw.f();
      }
    } while (bool2);
  }
  
  public void a(fb paramfb, double paramDouble1, double paramDouble2)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    paramfb.h();
    do
    {
      while (!bool1)
      {
        if (!paramfb.e()) {
          break;
        }
        paramfb.a().b(paramDouble1, paramDouble2);
        paramfb.f();
      }
    } while (bool2);
  }
  
  public void bb()
  {
    boolean bool3 = ld.E;
    boolean bool2 = ld.D;
    boolean bool1 = g();
    if (bool1) {
      z();
    }
    label392:
    label776:
    try
    {
      Object localObject1 = w();
      Object localObject2;
      Object localObject3;
      int i;
      label126:
      Object localObject4;
      label201:
      int n;
      label306:
      label368:
      label378:
      do
      {
        if (!((m)localObject1).e()) {
          break;
        }
        localObject2 = ((m)localObject1).a();
        if (bool2) {
          break label398;
        }
        localObject3 = t((a.c.d)localObject2);
        i = 0;
        do
        {
          fb localfb1 = ((tb)localObject3).o();
          do
          {
            if (!localfb1.e()) {
              break;
            }
            if (bool2) {
              break label126;
            }
            if (a(localfb1.a()))
            {
              i = 1;
              if (!bool3) {
                if (!bool2) {
                  break;
                }
              }
            }
            else
            {
              localfb1.f();
            }
          } while (!bool2);
          if (bool3) {
            break;
          }
          int j = 0;
          if ((bool3) || (((tb)localObject3).V() > 0))
          {
            int m = 0;
            do
            {
              if (m >= ((tb)localObject3).V()) {
                break;
              }
              if (bool2) {
                break label201;
              }
              if (a(((tb)localObject3).d(m)))
              {
                j = 1;
                if (!bool3) {
                  if (!bool2) {
                    break;
                  }
                }
              }
              else
              {
                m++;
              }
            } while (!bool2);
          }
          if (!bool3)
          {
            if (i == 0)
            {
              if (bool3) {
                break label378;
              }
              if (j == 0) {
                break label368;
              }
            }
            a(new ab((a.c.d)localObject2).l());
            localObject3 = t((a.c.d)localObject2);
          }
          fb localfb2 = ((tb)localObject3).o();
          do
          {
            if (!localfb2.e()) {
              break;
            }
            localObject4 = localfb2.a();
            if (bool2) {
              break label306;
            }
            if (a((eb)localObject4)) {
              ((tb)localObject3).a((eb)localObject4);
            }
            localfb2.f();
          } while (!bool2);
        } while (bool3);
        n = ((tb)localObject3).V();
        do
        {
          do
          {
            if (n-- <= 0) {
              break;
            }
            localObject4 = ((tb)localObject3).d(n);
          } while (!a((hg)localObject4));
          ((tb)localObject3).c(n);
          if (bool3) {
            break label378;
          }
          if (bool3) {
            break label394;
          }
          if (bool2) {
            break label392;
          }
        } while ((!bool3) && (!bool2));
        if ((bool3) || (v((a.c.d)localObject2))) {
          a((a.c.d)localObject2);
        }
        ((m)localObject1).f();
      } while (!bool2);
      label394:
      label398:
      localObject1 = v();
      label496:
      label497:
      label765:
      label767:
      do
      {
        for (;;)
        {
          if (!((w)localObject1).e()) {
            break label770;
          }
          localObject2 = ((w)localObject1).d();
          localObject3 = w((a.c.e)localObject2);
          i = 0;
          if (bool2) {
            break label776;
          }
          if (((ld)localObject3).y() > 0)
          {
            Iterator localIterator = ((ld)localObject3).z();
            for (;;)
            {
              if (localIterator.hasNext()) {
                if (a((jd)localIterator.next()))
                {
                  i = 1;
                  if (bool3) {
                    break label497;
                  }
                  if (bool3) {
                    break;
                  }
                  if (!bool2) {
                    break label496;
                  }
                }
              }
            }
          }
        }
        int k = 0;
        if ((bool3) || (((ld)localObject3).x() > 0))
        {
          n = 0;
          do
          {
            if (n >= ((ld)localObject3).x()) {
              break;
            }
            if (bool2) {
              break label572;
            }
            if (a(((ld)localObject3).b(n)))
            {
              k = 1;
              if (!bool3) {
                if (!bool2) {
                  break;
                }
              }
            }
            else
            {
              n++;
            }
          } while (!bool2);
        }
        if (!bool3)
        {
          if (i == 0)
          {
            if (bool3) {
              break label751;
            }
            if (k == 0) {}
          }
          else
          {
            a(new bb((a.c.e)localObject2).l());
            localObject3 = w((a.c.e)localObject2);
          }
        }
        else
        {
          n = ((ld)localObject3).y();
          do
          {
            do
            {
              if (n-- <= 0) {
                break;
              }
              localObject4 = ((ld)localObject3).c(n);
            } while (!a((jd)localObject4));
            ((ld)localObject3).d(n);
            if (bool3) {
              break label679;
            }
            if (bool3) {
              break label688;
            }
            if (bool2) {
              break label681;
            }
          } while ((!bool3) && (!bool2));
          n = ((ld)localObject3).x();
          do
          {
            do
            {
              if (n-- <= 0) {
                break;
              }
              localObject4 = ((ld)localObject3).b(n);
            } while (!a((hg)localObject4));
            ((ld)localObject3).a(n);
            if (bool3) {
              break label751;
            }
            if (bool3) {
              break label767;
            }
            if (bool2) {
              break label765;
            }
          } while ((!bool3) && (!bool2));
        }
        if ((bool3) || (y((a.c.e)localObject2))) {
          a((a.c.e)localObject2);
        }
        ((w)localObject1).f();
      } while (!bool2);
      label572:
      label751:
      if (bool3) {}
    }
    finally
    {
      label679:
      label681:
      label688:
      if (bool1) {
        A();
      }
    }
    label770:
  }
  
  public void a(Rectangle paramRectangle)
  {
    a(paramRectangle.getX(), paramRectangle.getY(), paramRectangle.getWidth(), paramRectangle.getHeight());
  }
  
  public void a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Object localObject1 = v();
    Object localObject2;
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = ((w)localObject1).d();
      if (bool1) {
        break label82;
      }
      if (!bool2)
      {
        if (w((a.c.e)localObject2).c(paramDouble1, paramDouble2, paramDouble3, paramDouble4)) {
          ke.a(this, (a.c.e)localObject2);
        }
        ((w)localObject1).f();
      }
    } while (!bool1);
    label82:
    localObject1 = L();
    do
    {
      if (!((fb)localObject1).e()) {
        break;
      }
      localObject2 = ((fb)localObject1).a();
      if (!bool2)
      {
        if (((eb)localObject2).a(paramDouble1, paramDouble2, paramDouble3, paramDouble4)) {
          a((eb)localObject2, true);
        }
        ((fb)localObject1).f();
      }
    } while (!bool1);
  }
  
  public sc a(double paramDouble1, double paramDouble2, boolean paramBoolean)
  {
    return new sc(this, paramDouble1, paramDouble2, paramBoolean, 0, 1, 2, 3, 4, 6, 5);
  }
  
  public sc c(double paramDouble1, double paramDouble2)
  {
    return a(paramDouble1, paramDouble2, true);
  }
  
  public void a(a.c.e parame, String paramString)
  {
    w(parame).b(paramString);
  }
  
  public String x(a.c.e parame)
  {
    return w(parame).u();
  }
  
  public void a(a.c.d paramd, String paramString)
  {
    t(paramd).a(paramString);
  }
  
  public String u(a.c.d paramd)
  {
    return t(paramd).W();
  }
  
  public void a(a.c.d paramd, boolean paramBoolean)
  {
    t(paramd).c(paramBoolean);
  }
  
  public void a(hg paramhg, boolean paramBoolean)
  {
    paramhg.a(paramBoolean);
  }
  
  public void a(eb parameb, boolean paramBoolean)
  {
    parameb.a(paramBoolean);
  }
  
  public void a(jd paramjd, boolean paramBoolean)
  {
    paramjd.a(paramBoolean);
  }
  
  public void a(m paramm, boolean paramBoolean)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!paramm.e()) {
      return;
    }
    z();
    if (paramm.e()) {}
    while (bool2)
    {
      a(paramm.a(), paramBoolean);
      paramm.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void a(a.c.e parame, boolean paramBoolean)
  {
    w(parame).e(paramBoolean);
  }
  
  public void a(w paramw, boolean paramBoolean)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!paramw.e()) {
      return;
    }
    z();
    if (paramw.e()) {}
    while (bool2)
    {
      a(paramw.d(), paramBoolean);
      paramw.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void a(fb paramfb, boolean paramBoolean)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!paramfb.e()) {
      return;
    }
    z();
    if (paramfb.e()) {}
    while (bool2)
    {
      a(paramfb.a(), paramBoolean);
      paramfb.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void b(a.c.d paramd, boolean paramBoolean)
  {
    a(t(paramd).o(), paramBoolean);
  }
  
  public void b(m paramm, boolean paramBoolean)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!paramm.e()) {
      return;
    }
    z();
    if (paramm.e()) {}
    while (bool2)
    {
      b(paramm.a(), paramBoolean);
      paramm.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    A();
  }
  
  public void a(boolean paramBoolean)
  {
    z();
    a(v(), paramBoolean);
    b(w(), paramBoolean);
    A();
  }
  
  public boolean v(a.c.d paramd)
  {
    return t(paramd).P();
  }
  
  public boolean a(hg paramhg)
  {
    return paramhg.i();
  }
  
  public boolean a(eb parameb)
  {
    return parameb.d();
  }
  
  public boolean a(jd paramjd)
  {
    return paramjd.f();
  }
  
  public boolean y(a.c.e parame)
  {
    return w(parame).H();
  }
  
  public double m(a.c.e parame)
  {
    return w(parame).A();
  }
  
  public double n(a.c.e parame)
  {
    return w(parame).B();
  }
  
  public double p(a.c.e parame)
  {
    return w(parame).a();
  }
  
  public double q(a.c.e parame)
  {
    return w(parame).b();
  }
  
  public double s(a.c.e parame)
  {
    return w(parame).c();
  }
  
  public double t(a.c.e parame)
  {
    return w(parame).d();
  }
  
  public void a(a.c.e parame, double paramDouble1, double paramDouble2)
  {
    w(parame).c(paramDouble1, paramDouble2);
  }
  
  public void b(a.c.e parame, double paramDouble1, double paramDouble2)
  {
    w(parame).b(paramDouble1, paramDouble2);
  }
  
  public void c(a.c.e parame, double paramDouble1, double paramDouble2)
  {
    w(parame).a(paramDouble1, paramDouble2);
  }
  
  public void a(URL paramURL)
  {
    URL localURL = cb();
    this.kg = paramURL;
    a(this, "URL", localURL, paramURL);
  }
  
  public URL cb()
  {
    return this.kg;
  }
  
  public void a(qb paramqb)
  {
    this.ig.b(paramqb);
  }
  
  public y db()
  {
    return this.ig.h();
  }
  
  public void b(qb paramqb)
  {
    this.ig.remove(paramqb);
  }
  
  public y eb()
  {
    return this.hg.h();
  }
  
  public ze fb()
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.jg != null) {
        return this.jg;
      }
    }
    if ((bool) || (this.hg.size() > 0)) {
      return (ze)this.hg.a();
    }
    return null;
  }
  
  public void a(ze paramze)
  {
    this.jg = paramze;
  }
  
  public void b(ze paramze)
  {
    this.hg.b(paramze);
  }
  
  public void c(ze paramze)
  {
    if (!ld.E) {
      if (fb() == paramze) {
        a(null);
      }
    }
    this.hg.remove(paramze);
  }
  
  public void gb()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    do
    {
      y localy = this.hg.h();
      while (!bool1)
      {
        if (!localy.e()) {
          break;
        }
        ((ze)localy.j()).b();
        localy.f();
      }
    } while (bool2);
  }
  
  public void b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    y localy = this.hg.h();
    do
    {
      while (!bool1)
      {
        if (!localy.e()) {
          break;
        }
        ((ze)localy.j()).a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
        localy.f();
      }
    } while (bool2);
  }
  
  public void hb()
  {
    if (!ld.E) {
      if (!(fb() instanceof pg)) {
        return;
      }
    }
    ((pg)fb()).F();
  }
  
  public void a(a_ parama_)
  {
    this.mg = parama_;
  }
  
  public a_ ib()
  {
    return this.mg;
  }
  
  public void jb()
  {
    z();
    a(v());
    a(w());
    A();
  }
  
  public void a(m paramm)
  {
    if ((ld.E) || (this.mg != null)) {
      this.mg.a(this, paramm);
    }
  }
  
  public void a(w paramw)
  {
    if ((ld.E) || (this.mg != null)) {
      this.mg.a(this, paramw);
    }
  }
  
  public void a(ic paramic)
  {
    this.ng.add(paramic);
  }
  
  public void b(ic paramic)
  {
    this.ng.remove(paramic);
  }
  
  public Iterator kb()
  {
    return this.ng.iterator();
  }
  
  public void k(Object paramObject)
  {
    boolean bool = ld.D;
    if (!this.ng.isEmpty())
    {
      mg localmg = new mg(this, paramObject);
      ic[] arrayOfic = new ic[this.ng.size()];
      this.ng.toArray(arrayOfic);
      int i = 0;
      do
      {
        if (i >= arrayOfic.length) {
          break;
        }
        arrayOfic[i].onGraph2DSelectionEvent(localmg);
        i++;
      } while (!bool);
    }
  }
  
  public void a(fc paramfc)
  {
    this.og.add(paramfc);
  }
  
  public void b(fc paramfc)
  {
    this.og.remove(paramfc);
  }
  
  public Iterator lb()
  {
    return this.og.iterator();
  }
  
  public void a(Object paramObject1, String paramString, Object paramObject2, Object paramObject3)
  {
    if (!this.og.isEmpty())
    {
      d locald = new d(this, paramObject1, paramString, paramObject2, paramObject3);
      fc[] arrayOffc = new fc[this.og.size()];
      this.og.toArray(arrayOffc);
      for (int i = 0; i < arrayOffc.length; i++) {
        arrayOffc[i].a(locald);
      }
    }
  }
  
  public static abstract interface a_
  {
    public abstract void a(g paramg, m paramm);
    
    public abstract void a(g paramg, w paramw);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.g

 * JD-Core Version:    0.7.0.1

 */